#ifndef __DMATEST_H__
#define __DMATEST_H__

#include "usartTest.h"
#include "at32f403a_407_board.h"
#include "at32f403a_407_clock.h"
#include "at32f403a_407_usart.h"

#define BUFFER_SIZE 100
#define COUNTOF(a)   (sizeof(a) / sizeof(*(a)))
extern uint8_t tx_buf[BUFFER_SIZE];
extern uint8_t rx_buf[BUFFER_SIZE];

void usart1_dma_gpio_init();
void at32_dma1_init();

#endif // !__DMATEST_H__